
package com.herohoy;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

/**
// TIP To <b>Run</b> code, press <shortcut actionId="Run"/> or
// click the <icon src="AllIcons.Actions.Execute"/> icon
// in the gutter.
 */
@SpringBootApplication
public class MainRunner {
    public static void main(String[] args) {
        SpringApplication.run(MainRunner.class, args);

        /*
        com.herohoy.games.scanmines.ScanmineCore core =
                new com.herohoy.games.scanmines.ScanmineCore();
        int x = 16;
        int y = 10;
        short[][] platform = core.getInitPlatform(y, x);
        core.initMines(35, platform);
        for(short[] row: platform) {
            for (short cell: row) {
                System.out.print(cell);
                System.out.print(' ');
            }
            System.out.println();
        }
        java.util.Scanner scanner =
                new java.util.Scanner(System.in);
        while (true) {
            if("q".equalsIgnoreCase(scanner.next())) {
                System.out.println("exit");
                break;
            }
            int xpos = scanner.nextInt();
            int ypos = scanner.nextInt();
            System.out.println("Current Cell: " +
                    core.getCurrentCell(xpos, ypos, platform));
        }
        // */
    }

}
